/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.vo;

import com.comac.ins.isfd.domain.IsfdDatabaseModelingConfig;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;



/**
 * 数据库建模配置视图对象 isfd_database_modeling_config
 *
 * @author Lion Li
 * @date 2024-11-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IsfdDatabaseModelingConfig.class)
public class IsfdDatabaseModelingConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private String id;

    /**
     * 模型名称
     */
    @ExcelProperty(value = "模型名称")
    private String modelName;

    /**
     * 业务场景
     */
    @ExcelProperty(value = "业务场景")
    private String businessScenario;

    /**
     * 业务系统
     */
    @ExcelProperty(value = "业务系统")
    private String businessSystem;

    /**
     * 要素库类型
     */
    @ExcelProperty(value = "要素库类型")
    private String databaseType;

    /**
     * 子类型
     */
    @ExcelProperty(value = "子类型")
    private String databaseSubtype;

    /**
     * 表名
     */
    @ExcelProperty(value = "表名")
    private String tableName;

    /**
     * 表描述
     */
    @ExcelProperty(value = "表描述")
    private String tableDescription;

    /**
     * 字段名称
     */
    @ExcelProperty(value = "字段名称")
    private String fieldName;

    /**
     * 字段描述
     */
    @ExcelProperty(value = "字段描述")
    private String fieldDescription;

    /**
     * 字段类型
     */
    @ExcelProperty(value = "字段类型")
    private String fieldType;

    /**
     * 字段结构
     */
    @ExcelProperty(value = "字段结构")
    private String fieldStructure;

    /**
     * 字段长度
     */
    @ExcelProperty(value = "字段长度")
    private Long fieldLength;

    /**
     * 默认值
     */
    @ExcelProperty(value = "默认值")
    private String defaultValue;

    /**
     * 是否运行为空
     */
    @ExcelProperty(value = "是否允许为空")
    private Integer isNullable;

    /**
     * 删除标志;0：存在；1：删除
     */
    @ExcelProperty(value = "删除标志;0：存在；1：删除")
    private Integer isDelete;


}
